package cn.lynu.study.practical_classes;

public class StringTest01 {

	public static void main(String[] args) {

		System.out.println("abc"=="abc"); // true
		System.out.println(new String("abc")=="abc"); // false
		System.out.println(new String("abc")==new String("abc")); // false

		System.out.println("abc".equals("abc")); //true;
		System.out.println("abc".equalsIgnoreCase("Abc")); //true;
	}

}
